extends RigidBody2D


func _ready() -> void:
	#给个动画
	var animaList = $YS.sprite_frames.get_animation_names()
	$YS.play(animaList[randi() % animaList.size()])


#退出屏幕要删除
func _on_visible_on_screen_notifier_2d_screen_exited() -> void:
	queue_free()
